package com.zhenhao.xsq.data.api;

/**
 * @author Yuan.Y.Q
 * @Date 2017/9/14.
 */

public interface API {

//    String BASE = "http://192.168.8.34:8080";//测试
//    String BASE_URL = BASE + "/api/";//测试
//    String web_mall = "http://192.168.8.230:85";//测试

//    String BASE = "http://api.hnchxwl.com";//华为
//    String BASE_URL = BASE + "/api/";//华为
//    String web_mall = "http://mall.iot.xin";//华为

//    String BASE = "http://dzbus.iot.xin:8082";//阿里
//    String BASE_URL = BASE + "/api/";//阿里
//    String web_mall = "http://mall.iot.xin";//阿里

    String BASE = "http://47.106.143.169:8082";//线上
    String BASE_URL = BASE + "/api/";//线上
    String web_mall = "http://mall.iot.xin";//线上


    long CONNECT_TIMEOUT = 10 * 1000;
    long IO_TIMEOUT = 30 * 1000;

    String IP_PRODUCT = "http://wy.iot.xin";//老二维码门禁线上
    String daozai = "http://dz.hnchxwl.com";//道闸

    String get_versions = "app/xsq/app/getversions";//更新\n"
    String img_path = "https://wsq.oss-cn-shenzhen.aliyuncs.com/";//访问路径
    String img_ywh_path = "http://60.171.21.81:8087/api/file/img?path=";//访问路径(业委会)
    String upload_file = BASE + "/api/file/simpleupload";//上传路径
    String img_cookie_key = "referer";//Glide添加请求头
    String img_cookie_value = "http://wy.iot.xin";//Glide添加请求头

    String user_login = "app/xsqapp/user/login";//登录
    String user_refresh = "app/xsqapp/user/refresh";//刷新token
    String user_code = "app/xsqapp/code";//获取验证码
    String user_logintout = "app/xsqapp/user/loginOut";//退出登录

    String user_xiangmu = "app/xsqapp/userLoupan";//根据手机号码查询App业主所属项目信息
    String user_info = "app/xsqapp/user";//获取当前欣社区App用户信息

    String PINGTAI_XIEYI = IP_PRODUCT + "/userxieyi.jsp";
    String YINSI_ZHENGCE = IP_PRODUCT + "/useryinsi.jsp";
    String PAY_CAR_XIEYI = daozai + "/cxwy_daozha/protocol.html";

    //住户管理
    String user_family = "app/xsq/app/owner/family";//根据当前房屋获取住户列表
    String user_add = "app/xsq/app/owner/add";//新增住户
    String user_delete = "app/xsq/app/owner/delete";//删除绑定住户
    String user_change = "app/xsq/app/owner/update";//修改
    String steward_info = "app/xsq/app/guanjia/findByYezhubh";//管家信息
    String score_list = "mall/xsq/app/zhIntegrali/findPageAppZhIntegral";//积分列表
    String score_info = "mall/xsq/app/zhIntegrali/findByZhIntegralVo";//积分总数
    String MENJIN_FACE = "app/xsq/app/owner/porthtml";//获取人脸
    String garbage_list = "app/xsq/app/refusebin/list";//垃圾分类列表
    String user_fwbh = "app/xsq/app/wysd/gainfangwubh";//获取房屋编号


    //通知公告
    String notice_list = "app/xsq/app/msg/list";//通知公告
    String news_list = "app/xsq/app/news/list";//新闻列表
    String news_detail = "app/xsq/app/news/detail";//新闻详情
    String community_activity_list = "app/xsq/app/act/list";//社区活动列表
    String community_activity_detail = "app/xsq/app/act/detail";//社区活动详情

    //物业费
    String wy_qflist = "app/xsq/app/wy/qflist";//物业费欠费列表
    String wy_xqlist = "app/xsq/app/wy/xqlist";//物业费账单详情
    String wy_wylist = "app/xsq/app/wy/wylist";//物业费历史账单列表

    //水电
    String sd_qflist = "app/xsq/app/sd/qfsdlist";//水电费欠费账单列表
    String sd_xqlist = "app/xsq/app/sd/xqsdlist";//水电费账单详情
    String sd_wylist = "app/xsq/app/sd/sdlist";//水电费历史账单

    //综合缴费
    String all_qflist = "app/xsq/app/fwqf/zhlist";//综合缴费列表
    String all_zd_detail = "app/xsq/app/fwqf/zhdetail";//综合缴费账单详情
    String all_qfadd = "app/xsq/app/fwqf/zhjiaona";//综合缴费生成账单
    String all_pay = "app/xsq/app/fwqf/xsqzhpay";//综合缴费生成订单

    String wy_bill_list = "app/xsq/app/wysd/wylist";//物业费账单列表
    String sd_bill_list = "app/xsq/app/wysd/sdlist";//水电费账单列表
    String all_bill_list = "app/xsq/app/wysd/zhpaylist";//综合缴费列表
    String all_bill_detail = "app/xsq/app/wysd/zhpayinfo";//确认缴费详情
    String bill_pay = "app/xsq/app/wysd/zhpay";//生成订单
    String bill_deduction = "app/xsq/app/wysd/yffpay";//预付费抵扣
    String bill_wy_qflist = "app/xsq/app/wysd/wyqflist";//物业费欠费列表
    String bill_sd_qflist = "app/xsq/app/wysd/sdqflist";//水电费欠费列表
    String bill_list_info = "app/xsq/app/wysd/wysdpayinfo";//物业水电确认缴费账单详情
    String bill_pay_wysd = "app/xsq/app/wysd/wysdpay";//物业水电确定支付收款生成订单
    String bill_order_list = "app/xsq/app/wysd/orderlist";//缴费订单列表
    String bill_order_cancel = "app/xsq/app/wysd/cancelOrder";//取消订单
    String bill_order_detail = "app/xsq/app/wysd/orderdetail";//订单详情
    String bill_info_detail_wy = "app/xsq/app/wysd/wyinfodetail";//物业费账单详情
    String bill_info_detail_sd = "app/xsq/app/wysd/sdinfodetail";//水电费账单详情


    //余额
    String fw_ye = "app/xsq/app/yff/fwyjf";//欣社区app查询房屋余额
    //查询订单是否完成
//    String url_check = "https://cjn.ngrok2.xiaomiqiu.cn/xsq/web/kef/kefquery";//线下
    String url_check = "https://payment.iot.xin/xsq/web/kef/kefquery";//线上
    //清除农行登录信息
//    String abc_logout = "wygl-service-pay/xsq/web/kef/clearkef";//线下
    String abc_logout = "http://payment.iot.xin/xsq/web/kef/clearkef";//线上

    String wx_appid = "wygl-service-pay/xsq/web/merchant/getUserName";

    //水电等预交费
    String qfadd = "app/xsq/app/dingdan/qfadd";//缴费账单详情
    String url_zfb = "app/xsq/app/pay/zfb";//生成支付宝订单
    String url_wx = "app/xsq/app/pay/wx";//生成微信订单
    String url_bank = "app/xsq/app/pay/kefpay";//生成农行订单
    String url_yjwyf = "app/xsq/app/getzhangdansj";//获取账单截止时间
    String url_yjwyf_commit = "app/xsq/app/wyyjf";//预缴物业费


    //    String testZf = "http://cjn.ngrok.xiaomiqiu.cn/xsq/web/wx/app";
    String testZf = "http://192.168.8.101:8081/xsq/app/pay/wx";

    //问卷调查
    String question_list = "app/xsqapp/research/list";//问卷调查列表

    //公共监控
    String ys_token = "app/xsq/app/ggjk/getaccesstoken";//获取萤石token
    //    String nvr_list = "xsq/app/ggjk/yzipclist";//摄像头列表
    String nvr_list = "app/xsq/app/ggjk/newyzipclist";//摄像头列表
    String hik_token = "xdoor/xsq/web/xdoor/app/getAccessToken";//获取海康设备token

    //投诉建议
    String complain_list = "app/xsq/app/complaint/list";//投诉建议列表
    String complain_confirm = "app/xsq/app/complaint/surefinish";//确认完成
    String complain_add = "app/xsq/app/complaint/save";//新增投诉/建议
    String complain_replayts = "app/xsq/app/complaint/replayts";//重新投诉接口

    //业委会
    String CURRENT_FLOW = "app/xsqapp/ywh/currentflow";//业委会阶段流程-查询业主当前的阶段流程
    String FLOWLIST = "app/xsqapp/ywh/flowlist";//业委会阶段流程-查询各阶段流程状态
    String RECOMMEND_LIST = "app/xsqapp/ywh/prepare/recommendList";//成立筹备组阶段-查看筹备组成员推荐列表
    String RECOMMEND = "app/xsqapp/ywh/prepare/recommend";//成立筹备组阶段-推荐筹备组成员
    String OWNERHOUSES_LIST = "app/xsqapp/ywh/preparework/ownerHousesList";//筹备组工作-查看业主房屋列表
    String PRADD = "app/xsqapp/ywh/preparework/pradd";//筹备组工作-提交实名认证审核
    String PREAL = "app/xsqapp/ywh/preparework/preal";//筹备组工作-个人实名认证详情查看
    String PRUPDATE = "app/xsqapp/ywh/preparework/prupdate";//修改票权认证状态
    String YADD = "app/xsqapp/conference/yadd";//业主大会阶段-保存反馈意见
    String YLIST = "app/xsqapp/conference/ylist";//业主大会阶段-查询提交的反馈意见
    String PLIST = "app/xsqapp/conference/plist";//业主大会人员列表
    String DETAILS = "app/xsqapp/research/details";//获取投票地址
    String RECOMMENDLIST = "app/xsqapp/ywh/prepare/recommendList";//候选人确认阶段-查看推荐候选人成员列表
    String RECOMMENDCANDIDATE = "app/xsqapp/ywh/candidate/recommendCandidate";//候选人确认阶段-业委会候选人推荐

    //车辆管理
    String CAR_LIST = "app/xsq/app/carlock/findcar";
    String CAR_JIESUO = "app/xsq/app/carlock/jsche";
    String CAR_FINDCARPAY = "app/xsq/app/carlock/findcarpay";
    String CAR_PAY = "app/xsq/app/carlock/carpaycz";//车辆充值，生成订单信息

    //门禁管理
    String MENJIN_GETLIST1 = "xdoor/xsq/web/xdoor/app/getXdoorApp";//获取门禁列表
    String MENJIN_GETLIST = "xdoor/xsq/web/xdoor/app/getXdoorApp2";//获取门禁列表
    String MENJIN_APPSHARE = "xdoor/xsq/web/xdoor/app/appSharebluetooth";//分享临时密码
    String MENJIN_FINDRZ = "xdoor/xsq/web/xdoor/app/findrz";//查看该业主以及下面的住户
    String MENJIN_FINDMUBIAO = "xdoor/xsq/web/xdoor/app/findMubiao";//找到该业主呼叫目标
    String MENJIN_MUBIAOSAVE = "xdoor/xsq/web/xdoor/app/mubiaoSave";//保存呼叫目标
    String MENJIN_SAVELIAN = "xdoor/xsq/web/xdoor/app/savelian";//保存人脸(不分1.0或3.0 由服务器判断)
    String MENJIN_BLE_LIST = "xdoor/xsq/web/xdoor/app/getXdoorAppBlueTooth";//蓝牙门禁列表
    String MENIN_BLE_KAIMEN = "xdoor/xsq/web/xdoor/app/openXdoor";//蓝牙一键开门
    String MENJIN_BLE_LOG = "xdoor/xsq/web/xdoor/app/callbackOpenBT";//蓝牙开门日志
//    String menjin_getyezhucodes = "app/xsq/app/laomenjin/getYezhuCodes";//获取业主二维码
//    String menjin_getfangkecodes = "app/xsq/app/laomenjin/getFangKeCodes";//获取访客二维码
    //    String MENJIN_KAIMEN1 = "app/xsqapp/xdoor/ycKaimen1";//人脸一键开门
    String MENJIN_KAIMEN1 = "app/xsqapp/xdoor/ycKaimen";//人脸一键开门
    String MENJIN_FAMILY_CODE = "xdoor/xsq/web/xdoor/app/saveOrUpdateFamilyPwd";//家庭密码
    String MENJIN_INVITE_LIST = "xdoor/xsq/web/xdoor/app/getInviteRecord";//获取访客邀请列表
    String MENJIN_INVITE_LEAVE = "xdoor/xsq/web/xdoor/app/confirmInviteUserLeave";//确认访客离场
    String MENJIN_INVITE_FEE = "unattend/xsq/mobile/park/qrcode/findInviteFee";//停车费
    String MENJIN_QR = "xdoor/xsq/web/xdoor/app/getHkQrCode";//获取海康开门二维码


    //报修
    String FIX_LIST = "app/xsqapp/repair/list";//报修列表
    String FIX_ADD = "app/xsqapp/repair/add";//报修新增
    String FIX_DETAIL = "app/xsqapp/repair/detail";//报修详情
    String FIX_PRICE = "app/xsqapp/repair/pricelist ";//报修报价

    String about_us = "app/xsq/app/aboutUs/detail";//关于我们
    String banner = "app/xsq/app/banner/list";//首页banner图
    String house_state = "app/xsq/app/rent/modify";//修改房屋出租状态
    String index_message = "app/xsq/app/index/findNotice";//首页通知公告
    String update_pwd = "app/xsqapp/user/settingpwd";//修改密码
    String index_menu = "app/xsq/app/convenience/list";//便民服务
    String update_pwd_code = "app/xsqapp/code/forgetpwd";

    //物品放行
    String authpass_list = "app/xsq/app/authpass/list";//授权放行列表
    String authpass_add_pass = "app/xsq/app/authpass/addpass";//新增放行申请
    String authpass_detail = "app/xsq/app/authpass/detail";//放行记录详情
    String authpass_delete_detail = "app/xsq/app/authpass/delete";//删除放行记录
    String authpass_delete_good = "app/xsq/app/authpass/delgood";//物品删除
    String authpass_update_good = "app/xsq/app/authpass/updategoods";//物品修改
    String authpass_check = "app/xsq/app/authpass/check";//审核放行申请

    //欣周边
    String zb_shop_list = "bsapp/xsq/app/business/home";//商家列表
    String zb_shop_detail = "bsapp/xsq/app/business/home/details";//商家详情
    String zb_goods_type = "bsapp/xsq/app/business/product/classify";//商品类型
    String zb_shop_comment_list = "bsapp/xsq/app/business/home/appraise";//商家评论列表
    String zb_shop_goods_list = "bsapp/xsq/app/business/product/info";//商品列表
    String zb_order_list = "bsapp/xsq/app/business/order/list";//订单列表
    String zb_order_detail = "bsapp/xsq/app/business/order/detail";//订单详情
    String zb_order_time = "bsapp/xsq/app/business/order/plan";//订单跟踪
    String zb_cart_list = "bsapp/xsq/app/business/shopingcart/list";//购物车列表
    String zb_add_cart = "bsapp/xsq/app/business/shoppingcart/modify";//添加/修改购物车
    String zb_clear_cart = "bsapp/xsq/app/business/shoppingcart/clear";//清空购物车
    String zb_commit_order = "bsapp/xsq/app/business/order/submit";//下单
    String zb_order_delete = "bsapp/xsq/app/business/order/delete";//删除订单
    String zb_order_cancel = "bsapp/xsq/app/business/order/cancel";//取消订单
    String zb_order_finish = "bsapp/xsq/app/business/order/confirm";//确认完成订单
    String zb_add_comment = "bsapp/xsq/app/business/order/evaluation";//订单评价
    String zb_comment_list = "bsapp/xsq/app/business/order/ownerevaluation";//我的评价

}
